package com.hwd.gmall.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 商品管理相关的前端页面工程启动类
 *
 * @author 黄伟东/Victor
 * @date 2022/4/22 0:50
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hwd.gmall.item.feign",
        "com.hwd.gmall.product.feign", "com.hwd.gmall.list.feign","com.hwd.gmall.oauth.feign"})
@ComponentScan("com.hwd.gmall")
public class WebAllApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebAllApplication.class, args);
    }
}
